#pragma once
#include "RenderableObject.h"
#include "PositionColored.h"
#include "ReadVerticalScanData.h"
class CVertialCloudRenderable :
	public CRenderableObject
{
public:
	CVertialCloudRenderable();
	CVertialCloudRenderable(NODE * _current, double _x, double _y, double _delta);
	~CVertialCloudRenderable();
public:
	PositionColored *m_topVertices ;
	NODE* currentNode;

	double x =0;
	double y = 0;
	double delta=0;

	virtual bool Initialize(LPDIRECT3DDEVICE9 g_pd3dDevice);

	virtual void Update(LPDIRECT3DDEVICE9 g_pd3dDevice);

	virtual void Render(LPDIRECT3DDEVICE9       g_pd3dDevice);

};

